#ifndef _POINT_3D_H_
#define _POINT_3D_H_
#include "Point2D.h"

class Point3D: public Point2D {
    public:
        Point3D(){ 
            _z = 0 ;
        }
        Point3D(int x, int y, int z) { 
            this -> x(x);
            this->y(y);
            _z = z ;}
        int z() { 
            return _z ;
        }
        void z(int z) {
            _z = z;
        }

    private:
        int _z;

};

#endif
